package com.thoughtworks.stafftimetable.domain;

import java.util.Date;


public class ScheduledAssignment implements Assignment {
    private String account;
    private String project;
    private Date startDate;
    private Date endDate;

    public ScheduledAssignment(String account, String project, Date startDate, Date endDate) {
        this.account = account;
        this.project = project;
        this.startDate = startDate;
        this.endDate = endDate;
    }

    public String getAccount() {
        return account;
    }

    public String getProject() {
        return project;
    }

    public Date getStartDate() {
        return startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public String getDescription() {
        return account  + " - " + project;
    }
}
